package com.tbit.uqbike.object.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 站点功能表(ParkFeature)实体类
 *
 * @author jing
 * @since 2021-03-08 10:46:30
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ParkFeature implements Serializable {
    private static final long serialVersionUID = -82528606783673780L;
    /**
     * 站点id
     */
    private Integer parkPointId;
    /**
     * 功能类型
     */
    private Integer featureType;
    /**
     * 开关
     */
    private Integer enable;

    /**
     * 功能属性
     */
    private String propert;
    /**
     * 更新时间
     */
    private Date updateTime;
    /**
     * 备注
     */
    private String remark;

    public ParkFeature(Integer parkPointId, Integer featureType) {
        this.parkPointId = parkPointId;
        this.featureType = featureType;
    }

    public ParkFeature(Integer parkPointId, Integer featureType, Integer enable) {
        this.parkPointId = parkPointId;
        this.featureType = featureType;
        this.enable = enable;
        this.updateTime = new Date();
    }
}